package com.EAsystem.service;

import com.EAsystem.entity.College;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface CollegeService {

    void save(College college);
    void delete(Integer id);
    void edit(College college);

    void batchDelete(java.util.List<Integer> ids);

    PageInfo<College> findAllByPage(int pageNum, int pageSize);
    PageInfo<College> findByNameWithPage(College college, int pageNum, int pageSize);

    List<College> findAll();
    
    // 根据ID查询学院
    College findById(Integer id);
}